<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,
    initial-scale=1.0">
    <title>管理员登陆界面</title>
    <link rel="stylesheet" type="text/css" href="static/asserts/css/login.css" th:href="@{/asserts/css/login.css}">

</head>

<body>
<div class="login">
    <h2>管理员登录</h2>
    <form th:action="@{/manager/login}" method="post" id="loginForm">
        <div class="login_box">
            <!-- required就是不能为空，必须在css效果中有很大的作用 -->
            <input type="text" required="required" name="manager_name">
            <label>管理员</label>
        </div>
        <div class="login_box">
            <input type="password" required="required" name="manager_pwd">
            <label>密码</label>
        </div>
    </form>
    <a  onclick="document:loginForm.submit()">
        登录
        <span></span>
        <span></span>
        <span></span>
        <span></span>
    </a>


</div>
</body>

</html>